package com.tanhua.houtai.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * 审核状态
 * 存数据库1,2,3
 *
 */
public enum PublishStateEnum implements IEnum<Integer> {
    DAIJISHENG(1,"待审核"),
    JPASS(2,"自动审核通过"),
    DAIRENSHENG(3,"待人工审核"),
    RFAIL(4,"人工审核拒绝"),
    RPASS(5,"为人工审核通过"),
    JFAIL(6,"自动审核拒绝");


    private int value;
    private String desc;

    PublishStateEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.desc;
    }
}
